package com.ruoyi.rooms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间管理对象 rooms
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class Rooms extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房间ID */
    @Excel(name = "房间ID")
    private Long RoomID;

    /** 房间号 */
    @Excel(name = "房间号")
    private String RoomNumber;

    /** 入住日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入住日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CheckInDate;

    /** 退房日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退房日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CheckOutDate;

    /** 用户名 */
    @Excel(name = "用户名")
    private String GuestName;

    /** 用户联系方式 */
    @Excel(name = "用户联系方式")
    private String GuestContact;

    /** 图片 */
    @Excel(name = "图片")
    private String RoomImage;

    public void setRoomID(Long RoomID) 
    {
        this.RoomID = RoomID;
    }

    public Long getRoomID() 
    {
        return RoomID;
    }
    public void setRoomNumber(String RoomNumber) 
    {
        this.RoomNumber = RoomNumber;
    }

    public String getRoomNumber() 
    {
        return RoomNumber;
    }
    public void setCheckInDate(Date CheckInDate) 
    {
        this.CheckInDate = CheckInDate;
    }

    public Date getCheckInDate() 
    {
        return CheckInDate;
    }
    public void setCheckOutDate(Date CheckOutDate) 
    {
        this.CheckOutDate = CheckOutDate;
    }

    public Date getCheckOutDate() 
    {
        return CheckOutDate;
    }
    public void setGuestName(String GuestName) 
    {
        this.GuestName = GuestName;
    }

    public String getGuestName() 
    {
        return GuestName;
    }
    public void setGuestContact(String GuestContact) 
    {
        this.GuestContact = GuestContact;
    }

    public String getGuestContact() 
    {
        return GuestContact;
    }
    public void setRoomImage(String RoomImage) 
    {
        this.RoomImage = RoomImage;
    }

    public String getRoomImage() 
    {
        return RoomImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("RoomID", getRoomID())
            .append("RoomNumber", getRoomNumber())
            .append("CheckInDate", getCheckInDate())
            .append("CheckOutDate", getCheckOutDate())
            .append("GuestName", getGuestName())
            .append("GuestContact", getGuestContact())
            .append("RoomImage", getRoomImage())
            .toString();
    }
}
